package consts

type TaskStatus string

const (
	TaskStatusRunning TaskStatus = "running"
	TaskStatusDone    TaskStatus = "done"
)

type TaskName string

const (
	SendEmail                    TaskName = "send_email"
	SyncCoreDataJson             TaskName = "sync_core_data_json"
	SyncFlightOrder              TaskName = "sync_flight_order"
	SyncFlightOrderData          TaskName = "sync_flight_order_data"
	Xuanshang                    TaskName = "xuanshang"
	Ems                          TaskName = "ems"
	ZhuShouDea                   TaskName = "zhushou_dea"
	ZhuShouDeaWw                 TaskName = "zhushou_dea_ww"
	DingdanLevel                 TaskName = "dingdan_level"
	DingdanLevelGamesss          TaskName = "dingdan_level_gamesss"
	Chanchu                      TaskName = "chanchu"       //产出
	Fenhong                      TaskName = "fenhong"       //产出
	FenhongFlish                 TaskName = "fenhong_flish" //产出
	SyncFlightOrderVoyageChange  TaskName = "sync_flight_order_voyage_change"
	SyncFlightOrderUnififiNotify TaskName = "sync_flight_order_unififi_notify"
	SyncUserAddMoney             TaskName = "sync_user_add_money"
)

type EmailType string

const (
	EmailAgencyCreatedEmail   EmailType = "agency_created_email"
	EmailResetPasswordEmail   EmailType = "agency_reset_password_email"
	EmailSupplierCreatedEmail EmailType = "supplier_created_email"
	EmailNewUserEmail         EmailType = "new_user_email"
	EmailTopupEmail           EmailType = "topup_email"
	EmailOutTickets           EmailType = "out_tickets"
)

type ShoppingRequestType string

const (
	ShoppingSearch   ShoppingRequestType = "search"
	ShoppingValidate ShoppingRequestType = "validate"
)

//actionTypeMap := []LogActionTypeInfo{
//		LogActionTypeInfo{
//			Path:   "log/SendEmailNotifyForFlightChange.txt",
//			Detail: "航变发送邮件通知信息",
//		},
//		LogActionTypeInfo{
//			Path:   "log/MeiyaFlightChangeRequest.txt",
//			Detail: "美亚查询航变接口请求及相应",
//		},
//	}

type LogActionPath string

const (
	SendEmailNotifyForFlightChange LogActionPath = "log/SendEmailNotifyForFlightChange.txt" // "航变发送邮件通知信息"
	MeiyaFlightChangeRequest       LogActionPath = "log/MeiyaFlightChangeRequest.txt"       // "美亚查询航变接口请求及相应"
)
